<?php  if ( ! defined('BASEPATH')) exit('No direct script access allowed');

$route['404_override'] = '';

$route['default_controller'] = "manage/index/index";
$route['manage/login']       = "manage/user/login";
$route['manage/logout']      = "manage/user/logout";

$route['manage/content/channel']   = "manage/content/channel";
$route['manage/content/channel/trang-(:num)'] = "manage/content/channel";
$route['manage/content/add-channel']   = "manage/content/addchannel";
$route['manage/content/edit-channel/(:num)']   = "manage/content/editchannel";
$route['manage/content/delete-channel']   = "manage/content/deletechannel";

$route['manage/content/tvshow']   = "manage/content/tvshow";
$route['manage/content/tvshow/trang-(:num)'] = "manage/content/tvshow";
$route['manage/content/add-tvshow']   = "manage/content/addtvshow";
$route['manage/content/edit-tvshow/(:num)']   = "manage/content/edittvshow";
$route['manage/content/delete-tvshow']   = "manage/content/deletetvshow";

$route['manage/control/question-history']         = "manage/control/questionhistories";
$route['manage/control/show-history']         = "manage/control/showhistories";
$route['manage/control/add-question']         = "manage/control/addquestion";
$route['add-vote']              = "manage/content/addvote";
$route['get-vote-list']         = "manage/content/getvotelist";
$route['update-tv-show']         = "manage/control/updatetvshow";
$route['stop-tv-show']         = "manage/control/stoptvshow";
$route['update-start-question']         = "manage/control/updatestartquestion";
$route['update-stop-question']         = "manage/control/updatestopquestion";
$route['delete-vote']              = "manage/content/deletevote";
